package com.zmn.oms.dubbo.interfaces.zmn.third.toutiao;

import com.zmn.common.dto2.ResponseDTO;
import com.zmn.oms.dubbo.dto.zmn.third.toutiao.ToutiaoCompanyAccountDIO;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import io.swagger.annotations.ApiParam;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @author xiewenbing
 * @date:2020/11/30
 * description: 头条渠道H5页面接口
 */
@Api(value = "头条渠道相关的H5接口", tags = {"头条渠道相关的H5接口"})
public interface ToutiaoRemoteService {

    /**
     * 添加公司账号
     *
     * @param companyAccountDIOList
     * @return
     */
    @ApiOperation(value = "添加公司账号", response = ResponseDTO.class)
    ResponseDTO addCompanyAccount(@ApiParam(name = "公司账号信息列表") @NotNull(message = "参数不能为空") List<ToutiaoCompanyAccountDIO> companyAccountDIOList);

    /**
     * 删除公司账号
     *
     * @param secretList
     * @return
     */
    @ApiOperation(value = "删除公司账号", response = ResponseDTO.class)
    ResponseDTO delCompanyAccount(@ApiParam(name = "公司秘钥列表") @NotBlank(message = "参数不能为空") List<String> secretList);
}
